#define _CRT_SECURE_NO_WARNINGS 1
#include "queue.h"

void text()
{
	Queue Q;
	QInit(&Q);
	QPush(&Q, 1);
	QPush(&Q, 2);
	QPush(&Q, 3);
	QPush(&Q, 4);
	QPush(&Q, 5);
	printf("%d %d %d\n", QBack(&Q), QFront(&Q),QSize(&Q));
	while (!QEmpty(&Q))
	{
		printf("%d ", QFront(&Q));
		QPop(&Q);
	}
	QDestory(&Q);
}
int main()
{
	text();
	return 0;
}